<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>商家详情</title>
		<link rel="stylesheet" href="__TMPL__Public/css/normalize.css" />
		
		    <link href="__PUBLIC__/css/bootstrap.css" rel="stylesheet" />
    <link href="__PUBLIC__/css/bootstrap-responsive.css" rel="stylesheet" />
    <link href="__PUBLIC__/css/fsgallery.css" rel="stylesheet" />
		
		<link rel="stylesheet" href="__TMPL__Public/css/main.css" />
		<link rel="stylesheet" href="__TMPL__Public/css/style.css" />
			<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->

    <style type="text/css">
    	.merchanturl-full-all{
    	  border: none;
    	  position: fixed;
    	  top: 0;
    	  z-index: 2;
    	  left: 0;
    	  width: 100%;
    	  height: 100%;
    	}
    </style>
    <script src="__PUBLIC__/js/jquery-1.9.1.js"></script>
    <script src="__PUBLIC__/js/fs_forse.js"></script>
			
	</head>
	<body>
		<!--<div class="header">
			<a onclick="goBack()" class="left-arrow"><img src="__TMPL__Public/img/arrow-b.png"></a>
			商家详情
			<a class="rightbtn"><img src="__TMPL__Public/img/user/sharebtn.png"></a>
		</div>-->
		<div class="thumbnails" id="gallery">
		<div class="indexad">
			<volist name="mer" id="v">
				<if condition="$v.is_first eq 2">
					<img src="{$v.icon}" data-src="{$v.icon}"/>
				</if>
			</volist>
		</div>
		<div class="center-line-box">
			<div class="title"><span>-</span>商家简介<span>-</span></div>
			<div class="line"></div>
			<div class="content">{$mer[0]['mark']}</div>
			<div class="picbox mt10">
				<volist name="mer" id="v">
					<if condition="$v.is_first eq 1">
						<img alt="详情图片" src="{$v.icon}" data-src="{$v.icon}"/>
					</if>
				</volist>
			</div>
		</div>
		<div class="footerbody bg-w"></div>
		<a href="http://{$mer[0]['link_url']}" onclick="openFrame()" target="merchanturl" class="btn-footer">
			<button class="ma corbtn">
				进入商家主页</button>
		</a>	
		</div>
	 <iframe src="" width="" height="" name="merchanturl" id="merchanturl">
	   
	 </iframe>
	</body>
	<script src="__TMPL__Public/js/main.js?{$version}" ></script>
	<script type="text/javascript">
	(function(){
	  $("#merchanturl").hide();
	})()
		function openFrame(){
		  $("#merchanturl").addClass("merchanturl-full-all");
		  $("#merchanturl").show();
		}
	</script>
</html>
